package org.yn.emp.service;

import org.yn.base.service.IBaseService;
import org.yn.base.util.PageInfo;
import org.yn.emp.EmployeeDTO;
import org.yn.emp.domain.Employee;
import org.yn.query.EmployeeQuery;

import java.util.List;


public interface IEmployeeService extends IBaseService<Employee> {
//    List<Employee> selectAll();
//
//    Employee selectById(Long id);
//
//
//    void insert(Employee employee);
//
//    void update(Employee employee);
//
//    void delete(Long id);

    Employee selectByName(String username);

    PageInfo<Employee> queryPage(EmployeeQuery employeeQuery);

    void insertByEmployeeId(EmployeeDTO employeeDTO);

    List<Long> selectByEmployeeId(Long id);

    List<String> queryPermissionByUserId(Long id);
}
